package com.example.module_user

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.fragment.findNavController
import androidx.navigation.ui.setupWithNavController
import com.alibaba.android.arouter.facade.annotation.Route
import com.example.lib_base.BaseActivity
import com.example.module_user.databinding.ActivityMainBinding

@Route(path = "/user/main")
class MainActivity : BaseActivity<ActivityMainBinding>() {
    override fun initData() {

    }

    override fun initView() {
        val findNavController =
            supportFragmentManager.findFragmentById(R.id.nav)?.findNavController()
        findNavController?.let {
            binding.bottom.setupWithNavController(it)
        }
    }

    override fun getLayoutId(): Int =R.layout.activity_main

}